package com.link.gateway.core.comproperty;

/**
 * desc 接口日志相关常量定义，例如接口调用状态类型、访问类型等
 *
 * @author libo
 * @date   2019-08-01
 * @param
 */
public class InterfaceLogConstants {
    /** 访问类型 */
    public static final String VISIT_TYPE = "visitType";
    /** 访问类型 */
    public static final String RECORD_INTERFACE_FLAG = "recordInterfaceFlag";
    /** 访问类型--正常 */
    public static final String NORMAL = "Visit";
    /** 访问类型--范围越权  ScopeOver */
    public static final String SCOPE_OVER = "ScopeOver";
    /** 访问类型--token 异常 */
    public static final String TOKEN_OVER = "TokenOver";
    /** 访问类型--请求头异常 */
    public static final String HEADER_OVER = "HeaderOver";
    /** 访问类型-- 访问权限异常 */
    public static final String PERMISSION_OVER = "PermissionOver";
    /** 访问类型-- 超频请求 */
    public static final String RESTRICTION = "Restriction";

    /**ip限制*/
    public static final String IP_OVER = "IPOVER";

    /**
     * 异常请求
     */
    public static final String EXCEPTION = "exception";

    /**
     * 数据窜改
     */
    public static final String DATA_CHANGE = "DataChange";

}
